import request from './index'

export function list(data) {
    return request({
        url: 'articles/list',
        method: 'POST',
        data
    })
}

export function add(data) {
    return request({
        url: 'articles/add',
        method: 'POST',
        data
    })
}

export function update(data) {
    return request({
        url: 'articles/update',
        method: 'POST',
        data
    })
}

export function deletes(data) {
    return request({
        url: 'articles/delete',
        method: 'POST',
        data
    })
}
